package com.itheima_01;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class HashMapTest {
    public static void main(String[] args) {
        Map<String,String> mp = new HashMap<>();
         mp.put("it001","张三");
         mp.put("it002","王五");
         mp.put("it003","李四");
        Set<String> s = mp.keySet();
        for (String s1 : s) {
            String name = mp.get(s1);
            System.out.println(s1+"--"+name);
        }


    }
}
